Class PtpProcessImpl

All Implemented Interfaces:
IPCObject, Process, PtpProcess

public class PtpProcessImpl extends ProcessImpl implements PtpProcess
Information provided by the PKI file:

    \class CPTPProcess
    \This class holds PTPProcess declaration.
    \example network().getDevice("Switch0").getProcess("CPTPProcess")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getT1

      public long getT1()
      Information provided by the PKI file:
      
          \brief Returns the T1 value.
          
          \return long, the T1 value.
          
              
      Specified by:
      getT1 in interface PtpProcess
      Returns:
      long Returns a long
    • getT2

      public long getT2()
      Information provided by the PKI file:
      
          \brief Returns the T2 value.
          
          \return long, the T2 value.
          
              
      Specified by:
      getT2 in interface PtpProcess
      Returns:
      long Returns a long
    • getT3

      public long getT3()
      Information provided by the PKI file:
      
          \brief Returns the T3 value.
          
          \return long, the T3 value.
          
              
      Specified by:
      getT3 in interface PtpProcess
      Returns:
      long Returns a long
    • getT4

      public long getT4()
      Information provided by the PKI file:
      
          \brief Returns the T4 value.
          
          \return long, the T4 value.
          
              
      Specified by:
      getT4 in interface PtpProcess
      Returns:
      long Returns a long
    • setT1

      public void setT1(long t)
      Information provided by the PKI file:
      
          \brief Sets the T1 value.
          
          \param t, the T1 value to use.
          
              
      Specified by:
      setT1 in interface PtpProcess
      Parameters:
      t - Takes in a parameter of t
    • setT2

      public void setT2(long t)
      Information provided by the PKI file:
      
          \brief Sets the T2 value.
          
          \param t, the T2 value to use.
          
              
      Specified by:
      setT2 in interface PtpProcess
      Parameters:
      t - Takes in a parameter of t
    • setT3

      public void setT3(long t)
      Information provided by the PKI file:
      
          \brief Sets the T3 value.
          
          \param t, the T3 value to use.
          
              
      Specified by:
      setT3 in interface PtpProcess
      Parameters:
      t - Takes in a parameter of t
    • setT4

      public void setT4(long t)
      Information provided by the PKI file:
      
          \brief Sets the T4 value.
          
          \param t, the T4 value to use.
          
              
      Specified by:
      setT4 in interface PtpProcess
      Parameters:
      t - Takes in a parameter of t
    • setPtpDebugEventFlag

      public void setPtpDebugEventFlag(boolean flag)
      Information provided by the PKI file:
      
          \brief Sets debug event flag for ptp.
          
          \param flag, true to enable debug, false to disable.
          
              
      Specified by:
      setPtpDebugEventFlag in interface PtpProcess
      Parameters:
      flag - Takes in a parameter of flag
    • getPtpDebugEventFlag

      public boolean getPtpDebugEventFlag()
      Information provided by the PKI file:
      
          \brief Gets debug event flag for ptp.
          
          \return bool, true if debug enabled, false if disabled.
          
              
      Specified by:
      getPtpDebugEventFlag in interface PtpProcess
      Returns:
      boolean Returns a boolean
    • setPtpDebugMsgFlag

      public void setPtpDebugMsgFlag(boolean flag)
      Information provided by the PKI file:
      
          \brief Sets debug message flag for ptp.
          
          \param flag, value to use for the flag.
          
              
      Specified by:
      setPtpDebugMsgFlag in interface PtpProcess
      Parameters:
      flag - Takes in a parameter of flag
    • getPtpDebugMsgFlag

      public boolean getPtpDebugMsgFlag()
      Information provided by the PKI file:
      
          \brief Gets debug message flag for ptp.
          
          \param return, value is the flag value.
          
              
      Specified by:
      getPtpDebugMsgFlag in interface PtpProcess
      Returns:
      boolean Returns a boolean
    • syncToCurrentTime

      public void syncToCurrentTime()
      Information provided by the PKI file:
      
          \brief Syncs the time to the current time.
          
              
      Specified by:
      syncToCurrentTime in interface PtpProcess
    • runBMC

      public void runBMC()
      Information provided by the PKI file:
      
          \brief Runs BMC (best master clock).
          
              
      Specified by:
      runBMC in interface PtpProcess